package com.gestion.abs.bo;

import java.util.Date;

public class Utilisateur {
	
	
	private Long idCompte;
	private String CIN;
	
	private String nom;
	private String prenom;
	private String email;
	private  Date dateNaissance;
	private String sexe;
	
	private Date dateCreation;
	private Date dateExperation;
	
	private boolean isActive;
	private boolean isExpered;
	private boolean isLocked;
	
	private String login;
	private String password;
	private Role role; 
	
	public Utilisateur() {
	
	}
	
	
	
	public Utilisateur(String cIN, String nom, String prenom,
			Date dateNaissance, String sexe, Date dateCreation,
			Date dateExperation, boolean isActive, boolean isExpered,
			boolean isLocked, String login, String password) {
		
		CIN = cIN;
		this.nom = nom;
		this.prenom = prenom;
		this.dateNaissance = dateNaissance;
		this.sexe = sexe;
		this.dateCreation = dateCreation;
		this.dateExperation = dateExperation;
		this.isActive = isActive;
		this.isExpered = isExpered;
		this.isLocked = isLocked;
		this.login = login;
		this.password = password;
	}







	//getter setter
	
	
	
	public Utilisateur(String cin2, String pNom, String pPrenom,
			Date dateNaissaice, String sexe2) {


		this.CIN = cin2;
		this.nom = pNom;
		this.prenom = pPrenom;
		this.dateNaissance = dateNaissaice;
		this.sexe = sexe2;
	
	}



	public Long getIdCompte() {
		return idCompte;
	}
	public String getEmail() {
		return email;
	}



	public void setEmail(String email) {
		this.email = email;
	}



	public Role getRole() {
		return role;
	}



	public void setRole(Role role) {
		this.role = role;
	}



	public void setIdCompte(Long idCompte) {
		this.idCompte = idCompte;
	}
	public String getCIN() {
		return CIN;
	}
	public void setCIN(String cIN) {
		CIN = cIN;
	}
	public String getNom() {
		return nom;
	}
	public void setNom(String nom) {
		this.nom = nom;
	}
	public String getPrenom() {
		return prenom;
	}
	public void setPrenom(String prenom) {
		this.prenom = prenom;
	}
	public Date getDateNaissance() {
		return dateNaissance;
	}
	public void setDateNaissance(Date dateNaissance) {
		this.dateNaissance = dateNaissance;
	}
	public String getSexe() {
		return sexe;
	}
	public void setSexe(String sexe) {
		this.sexe = sexe;
	}
	public Date getDateCreation() {
		return dateCreation;
	}
	public void setDateCreation(Date dateCreation) {
		this.dateCreation = dateCreation;
	}
	public Date getDateExperation() {
		return dateExperation;
	}
	public void setDateExperation(Date dateExperation) {
		this.dateExperation = dateExperation;
	}
	public boolean isActive() {
		return isActive;
	}
	public void setActive(boolean isActive) {
		this.isActive = isActive;
	}
	public boolean isExpered() {
		return isExpered;
	}
	public void setExpered(boolean isExpered) {
		this.isExpered = isExpered;
	}
	public boolean isLocked() {
		return isLocked;
	}
	public void setLocked(boolean isLocked) {
		this.isLocked = isLocked;
	}
	public String getLogin() {
		return login;
	}
	public void setLogin(String login) {
		this.login = login;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	
	
	

}
